Optimal. Leaf size=66 \[ -\frac {A b-2 a B}{2 b^3 \left (a+b x^2\right )}+\frac {a (A b-a B)}{4 b^3 \left (a+b x^2\right )^2}+\frac {B \log \left (a+b x^2\right )}{2 b^3} \]
________________________________________________________________________________________
Rubi [A] time = 0.07, antiderivative size = 66, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 2, integrand size = 20, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.100, Rules used = {446, 77} \begin {gather*} -\frac {A b-2 a B}{2 b^3 \left (a+b x^2\right )}+\frac {a (A b-a B)}{4 b^3 \left (a+b x^2\right )^2}+\frac {B \log \left (a+b x^2\right )}{2 b^3} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 77
Rule 446
Rubi steps
\begin {align*} \int \frac {x^3 \left (A+B x^2\right )}{\left (a+b x^2\right )^3} \, dx &=\frac {1}{2} \operatorname {Subst}\left (\int \frac {x (A+B x)}{(a+b x)^3} \, dx,x,x^2\right )\\ &=\frac {1}{2} \operatorname {Subst}\left (\int \left (\frac {a (-A b+a B)}{b^2 (a+b x)^3}+\frac {A b-2 a B}{b^2 (a+b x)^2}+\frac {B}{b^2 (a+b x)}\right ) \, dx,x,x^2\right )\\ &=\frac {a (A b-a B)}{4 b^3 \left (a+b x^2\right )^2}-\frac {A b-2 a B}{2 b^3 \left (a+b x^2\right )}+\frac {B \log \left (a+b x^2\right )}{2 b^3}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.02, size = 64, normalized size = 0.97 \begin {gather*} \frac {3 a^2 B-a b \left (A-4 B x^2\right )+2 B \left (a+b x^2\right )^2 \log \left (a+b x^2\right )-2 A b^2 x^2}{4 b^3 \left (a+b x^2\right )^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [F] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {x^3 \left (A+B x^2\right )}{\left (a+b x^2\right )^3} \, dx \end {gather*}
Verification is not applicable to the result.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.42, size = 89, normalized size = 1.35 \begin {gather*} \frac {3 \, B a^{2} - A a b + 2 \, {\left (2 \, B a b - A b^{2}\right )} x^{2} + 2 \, {\left (B b^{2} x^{4} + 2 \, B a b x^{2} + B a^{2}\right )} \log \left (b x^{2} + a\right )}{4 \, {\left (b^{5} x^{4} + 2 \, a b^{4} x^{2} + a^{2} b^{3}\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.41, size = 61, normalized size = 0.92 \begin {gather*} \frac {B \log \left ({\left | b x^{2} + a \right |}\right )}{2 \, b^{3}} + \frac {2 \, {\left (2 \, B a - A b\right )} x^{2} + \frac {3 \, B a^{2} - A a b}{b}}{4 \, {\left (b x^{2} + a\right )}^{2} b^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.01, size = 80, normalized size = 1.21 \begin {gather*} \frac {A a}{4 \left (b \,x^{2}+a \right )^{2} b^{2}}-\frac {B \,a^{2}}{4 \left (b \,x^{2}+a \right )^{2} b^{3}}-\frac {A}{2 \left (b \,x^{2}+a \right ) b^{2}}+\frac {B a}{\left (b \,x^{2}+a \right ) b^{3}}+\frac {B \ln \left (b \,x^{2}+a \right )}{2 b^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 1.01, size = 72, normalized size = 1.09 \begin {gather*} \frac {3 \, B a^{2} - A a b + 2 \, {\left (2 \, B a b - A b^{2}\right )} x^{2}}{4 \, {\left (b^{5} x^{4} + 2 \, a b^{4} x^{2} + a^{2} b^{3}\right )}} + \frac {B \log \left (b x^{2} + a\right )}{2 \, b^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.11, size = 70, normalized size = 1.06 \begin {gather*} \frac {\frac {3\,B\,a^2-A\,a\,b}{4\,b^3}-\frac {x^2\,\left (A\,b-2\,B\,a\right )}{2\,b^2}}{a^2+2\,a\,b\,x^2+b^2\,x^4}+\frac {B\,\ln \left (b\,x^2+a\right )}{2\,b^3} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.91, size = 70, normalized size = 1.06 \begin {gather*} \frac {B \log {\left (a + b x^{2} \right )}}{2 b^{3}} + \frac {- A a b + 3 B a^{2} + x^{2} \left (- 2 A b^{2} + 4 B a b\right )}{4 a^{2} b^{3} + 8 a b^{4} x^{2} + 4 b^{5} x^{4}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________